package bookmanagementsystem.gui;

import javax.swing.JFrame;


public class AdminUtil {
    // 打开修改管理员密码界面的静态方法，接收管理员ID作为参数
    public static void openModifyPasswordFrame(String adminID) {
        ModifyPasswordFrame modifyAdminPasswordFrame = new ModifyPasswordFrame(adminID);
        modifyAdminPasswordFrame.setVisible(true);
    }


    public static void openModifyBookInfoFrame() {
        ModifyBookInfoFrame modifyBookInfoFrame = new ModifyBookInfoFrame();
        modifyBookInfoFrame.setVisible(true);
    }
}